package com.woniu.supermarket.service;

import com.github.pagehelper.PageInfo;
import com.woniu.supermarket.entity.FinancialDetail;
import com.woniu.supermarket.vo.CollectionSummaryVo;
import com.woniu.supermarket.vo.RefundSummaryVo;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;


public interface IFinancialDetailService {
    PageInfo<FinancialDetail> findByConds(Integer now, Integer size, String number);

    PageInfo<CollectionSummaryVo> findCollectionSummaryVoByConds(Integer now, Integer size);

    PageInfo<CollectionSummaryVo> findCollectionSummaryVoByMonthByConds(Integer now, Integer size);

    PageInfo<CollectionSummaryVo> findCollectionSummaryVoByYearByConds(Integer now, Integer size);

    PageInfo<RefundSummaryVo> findRefundSummaryVoByYearByConds(Integer now, Integer size);

    PageInfo<RefundSummaryVo> findRefundSummaryVoByMonthByConds(Integer now, Integer size);

    PageInfo<RefundSummaryVo> findRefundSummaryVoByConds(Integer now, Integer size);

    List<CollectionSummaryVo> findAllCollectionSummaryVoByDay();

    List<CollectionSummaryVo> findAllCollectionSummaryVoByMonth();

    List<CollectionSummaryVo> findAllCollectionSummaryVoByYear();

    List<RefundSummaryVo> findAllRefundSummaryByDay();

    List<RefundSummaryVo> findAllRefundSummaryByMonth();

    List<RefundSummaryVo> findAllRefundSummaryByYear();
}
